#ifndef TASKBYPROJECT_H
#define TASKBYPROJECT_H

#include <QWidget>

#include "ganttmodel.h"

class MainWindow ;

namespace Ui {
class TaskByProject;
}

class TaskByProject : public QWidget
{
    Q_OBJECT

public:
    explicit TaskByProject(QWidget *parent = nullptr);
    ~TaskByProject();

private slots:
    void on_bt_query_clicked();

    void on_cBox_FinishTask_clicked();

    void on_cBox_FinishTask_stateChanged(int arg1);

private:
    Ui::TaskByProject *ui;
    MainWindow *m_mwindow ;
    GanttModel* m_projectTaskGnt;
    void reflashPagingModelView(GanttModel *prjGntModel, int curPage);

};

#endif // TASKBYPROJECT_H
